﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013A5 RID: 5029
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeTrainVisitorUntakenBehaviorRewardCsReq : IMessage<TakeTrainVisitorUntakenBehaviorRewardCsReq>, IMessage, IEquatable<TakeTrainVisitorUntakenBehaviorRewardCsReq>, IDeepCloneable<TakeTrainVisitorUntakenBehaviorRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003F6A RID: 16234
		// (get) Token: 0x0600E138 RID: 57656 RVA: 0x0025A37D File Offset: 0x0025857D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeTrainVisitorUntakenBehaviorRewardCsReq> Parser
		{
			get
			{
				return TakeTrainVisitorUntakenBehaviorRewardCsReq._parser;
			}
		}

		// Token: 0x17003F6B RID: 16235
		// (get) Token: 0x0600E139 RID: 57657 RVA: 0x0025A384 File Offset: 0x00258584
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeTrainVisitorUntakenBehaviorRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F6C RID: 16236
		// (get) Token: 0x0600E13A RID: 57658 RVA: 0x0025A396 File Offset: 0x00258596
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeTrainVisitorUntakenBehaviorRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600E13B RID: 57659 RVA: 0x0025A39D File Offset: 0x0025859D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeTrainVisitorUntakenBehaviorRewardCsReq()
		{
		}

		// Token: 0x0600E13C RID: 57660 RVA: 0x0025A3A5 File Offset: 0x002585A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeTrainVisitorUntakenBehaviorRewardCsReq(TakeTrainVisitorUntakenBehaviorRewardCsReq other) : this()
		{
			this.visitorId_ = other.visitorId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E13D RID: 57661 RVA: 0x0025A3CA File Offset: 0x002585CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeTrainVisitorUntakenBehaviorRewardCsReq Clone()
		{
			return new TakeTrainVisitorUntakenBehaviorRewardCsReq(this);
		}

		// Token: 0x17003F6D RID: 16237
		// (get) Token: 0x0600E13E RID: 57662 RVA: 0x0025A3D2 File Offset: 0x002585D2
		// (set) Token: 0x0600E13F RID: 57663 RVA: 0x0025A3DA File Offset: 0x002585DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint VisitorId
		{
			get
			{
				return this.visitorId_;
			}
			set
			{
				this.visitorId_ = value;
			}
		}

		// Token: 0x0600E140 RID: 57664 RVA: 0x0025A3E3 File Offset: 0x002585E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeTrainVisitorUntakenBehaviorRewardCsReq);
		}

		// Token: 0x0600E141 RID: 57665 RVA: 0x0025A3F1 File Offset: 0x002585F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeTrainVisitorUntakenBehaviorRewardCsReq other)
		{
			return other != null && (other == this || (this.VisitorId == other.VisitorId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E142 RID: 57666 RVA: 0x0025A420 File Offset: 0x00258620
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.VisitorId != 0U)
			{
				num ^= this.VisitorId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E143 RID: 57667 RVA: 0x0025A45F File Offset: 0x0025865F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E144 RID: 57668 RVA: 0x0025A467 File Offset: 0x00258667
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E145 RID: 57669 RVA: 0x0025A470 File Offset: 0x00258670
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.VisitorId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.VisitorId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E146 RID: 57670 RVA: 0x0025A4A4 File Offset: 0x002586A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.VisitorId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.VisitorId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E147 RID: 57671 RVA: 0x0025A4E2 File Offset: 0x002586E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeTrainVisitorUntakenBehaviorRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.VisitorId != 0U)
			{
				this.VisitorId = other.VisitorId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E148 RID: 57672 RVA: 0x0025A513 File Offset: 0x00258713
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E149 RID: 57673 RVA: 0x0025A51C File Offset: 0x0025871C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.VisitorId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400592A RID: 22826
		private static readonly MessageParser<TakeTrainVisitorUntakenBehaviorRewardCsReq> _parser = new MessageParser<TakeTrainVisitorUntakenBehaviorRewardCsReq>(() => new TakeTrainVisitorUntakenBehaviorRewardCsReq());

		// Token: 0x0400592B RID: 22827
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400592C RID: 22828
		public const int VisitorIdFieldNumber = 4;

		// Token: 0x0400592D RID: 22829
		private uint visitorId_;
	}
}
